# var1 = 8
# var2 = 2.0
# var3 = var1 / var2
# print(var3)
#
# var4 = var1 + var2 / var3
# print(var4)
#
# print("abc" >= "abd" )
# print(["a", "b", "c"] >= ["a", "b", "d"])
# print('我的名字是%s，今年%s岁了' % ("TOM",100))

# num = 7 % 3
# print(num)

# name = input('请输入您的名字：')
# print(f'你好，{name}')

# # 定义一个变量a
# a = 1
# # 定义一个变量b
# b = 2
# # 定义一个变量c
# c = 3
# # 格式化打印出a,b,c
# print(f'a = {a},b = {b},c = {c}')
# print('My age is %s' % 18)
# and or
# print('abc' >= 'abd' and '')
# print(['a', 'b', 'c'] >= ['a', 'b', 'd'] or False)
# print(['a', 'b', 'c'] >= ['a', 'b', 'd'])

# a = 10
# if a == 10:
#     b = 20
# else:
#     b = 100
# print(a,b)

# 根据用户的钱选择吃什么
# money = int(input("请输入兜里的钱："))
#
# if money <= 10:
#     print("吃板面")
# elif 10 < money <= 30:
#     print("吃肯德基")
# elif 30 <= money < 100:
#     print("吃全家桶")
# elif money >= 100:
#     print("吃烤鱼")
# else:
#     print("不吃饭减肥")


# if None:
#     print("True")
# else:
#     print("False")

# print(None if True else False)
# x=50
# y=25
# small = x if x < y else y
# print(small)

# c=5
# d=5
# print("c大于d") if c > d else (print("c小于d") if c < d else print("c等于d"))


# houseandcar = 1
# money = 1
# if houseandcar == 1:
#     print("有车有房，还不错！")
#     if money == 1:
#         print("又有钱，可以娶媳妇儿了")
#     else:
#         print("没钱，癞蛤蟆想吃天鹅肉！")
# else:
#     print('没房没车，还娶什么媳妇！')

# num = int(input('请输入数字：'))
# if num == 1:
#     print("今天是周一")
# elif num == 2:
#     print("今天是周二")
# elif num == 3:
#     print("今天是周三")
# elif num == 4:
#     print("今天是周四")
# elif num == 5:
#     print("今天是周五")
# else:
#     print("今天是周末")

# username = input("请输入您的用户名：")
# password = int(input("请输入您的密码："))
# if username == 'admin' and password == 123456:
#     print("欢迎来到博学谷！")
# else:
#     print("登录失败！")


# num = int(input('请输入数字：'))
# if num == 6 or num == 7:
#     print("周末")
# else:
#     print("工作日")

# score = int(input("请输入你的成绩："))
# if score < 60:
#     print("你的成绩是不及格！")
# elif 60 <= score < 70:
#     print("你的成绩是及格！")
# elif 70 <= score < 80:
#     print("你的成绩是合格！")
# elif 80 <= score < 90:
#     print("你的成绩是良好！")
# else:
#     print("你的成绩是优秀！")
